<template>
  <div>
    <LazyLoadTab v-model="activeName" :tabMenus="dataType === '10461001'?menus:menus2"></LazyLoadTab>
  </div>
</template>

<script>
import Cookies from 'js-cookie';
import { getDataType } from '@/assets/js/auth';
export default {
  name: 'Brandcarsmodels',
  data() {
    return {
      activeName: '品牌',
      dataType: getDataType('dataType'),// 判断是否为厂端
      menus: [
        {
          title: '品牌',
          path: 'common/cars/brandcarsModels/tabs/brand'
        },
        {
          title: '车系',
          path: 'common/cars/brandcarsModels/tabs/series'
        },
        {
          title: '车型',
          path: 'common/cars/brandcarsModels/tabs/model'
        },
        {
          title: '配置',
          path: 'common/cars/brandcarsModels/tabs/config'
        },
        {
          title: '选装',
          path: 'common/cars/brandcarsModels/tabs/option'
        }
      ],
      menus2: [
        {
          title: '品牌',
          path: 'common/cars/brandcarsModels/tabsOEM/brand'
        },
        {
          title: '车系',
          path: 'common/cars/brandcarsModels/tabsOEM/series'
        },
        {
          title: '车型',
          path: 'common/cars/brandcarsModels/tabsOEM/model'
        },
        {
          title: '配置',
          path: 'common/cars/brandcarsModels/tabsOEM/config'
        },
        {
          title: '选装',
          path: 'common/cars/brandcarsModels/tabsOEM/option'
        }
      ],
    };
  },
};
</script>

<style lang="less" scoped>
</style>
